package com.cos.hospital.ui.other.adapter;


import android.widget.ImageView;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.cos.hospital.R;
import com.cos.hospital.tool.glide.GlideApp;
import com.cos.hospital.tool.glide.TransformRound;


public class PictureBottomAdapter extends BaseQuickAdapter<String, BaseViewHolder> {

    public PictureBottomAdapter() {
        super(R.layout.picture_image_bottom_item);
    }


    @Override
    protected void convert(BaseViewHolder helper, String item) {
        GlideApp.with(mContext).load(item)
                .centerCrop().transform(new TransformRound(4)).into((ImageView) helper.getView(R.id.picture));


    }
}

